

import java.io.FileNotFoundException;
import java.sql.SQLException;
import javax.swing.JOptionPane;
import powell.nflpredictionproject.database.BuildDatabase;
import powell.nflpredictionproject.database.PopulateDatabase;
import powell.nflpredictionproject.display.MainPanel;

/**
 *
 * @author Joshua Powell
 * CSC 251 Advanced Java Programming Project
 * This program is a prototype and uses a few stats to display a winner and is 
 * using a derby database to read those stats. This database is built using a 
 * csv file I found on a popular statistics website.
 * Finally prototype date 10/21/2013
 */
public class NFLPredictionProject
{

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws FileNotFoundException, SQLException
    {
        //BuildDatabase build = new BuildDatabase();
        //build.dropTables();
        //build.BuildStatsTables();
        //PopulateDatabase populate = new PopulateDatabase();
        //populate.Populate();
        
        JOptionPane.showMessageDialog(null, "This application uses the 2012 NFL season stats by default if you do not select a season", "Application Information", 1);
        
        MainPanel run = new MainPanel();
    }
}
